package com.design.model.visitor;

/**
 * @program: study
 * @className: Failure
 * @description: TODO
 * @author: kukuxiahuni
 * @create: 2019-06-24 20:33
 * @version: v1.0
 **/
public class Failure extends Action {
    @Override
    public void getManConclusion(Man man) {
        System.out.printf("%s, 失败", man.getClass().getName());
    }

    @Override
    public void getWomanConclusion(Woman woman) {
        System.out.printf("%s, 失败", woman.getClass().getName());

    }
}
